package com.bootdo.storageRack.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 货架表
 *
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-02-02 17:41:41
 */
@Entity
@Table(name = "biz_storage_rack")
public class StorageRackDO implements Serializable {
    private static final long serialVersionUID = 1L;

        //
        @Id
    @GeneratedValue
        @Column(name = "id")
    private Long id;
        //补货员id
        @Column(name = "user_id")
    private Long userId;
        //标题
        @Column(name = "title")
    private String title;
        //剩余总商品数量
        @Column(name = "last_quantity")
    private Integer lastQuantity;
        //货架编码
        @Column(name = "code")
    private String code;
        //货架地址
        @Column(name = "address")
    private String address;
        //经度
        @Column(name = "lon")
    private String lon;
        //纬度
        @Column(name = "lat")
    private String lat;
        //创建时间
        @Column(name = "gtm_create")
    private Date gtmCreate;
        //修改时间
        @Column(name = "gtm_modified")
    private Date gtmModified;
    
        /**
    * 设置：
    */
    public void setId(Long id) {
       this.id = id;
    }

    /**
    * 获取：
    */
    public Long getId() {
            return id;
        }
        /**
    * 设置：补货员id
    */
    public void setUserId(Long userId) {
       this.userId = userId;
    }

    /**
    * 获取：补货员id
    */
    public Long getUserId() {
            return userId;
        }
        /**
    * 设置：标题
    */
    public void setTitle(String title) {
       this.title = title;
    }

    /**
    * 获取：标题
    */
    public String getTitle() {
            return title;
        }
        /**
    * 设置：剩余总商品数量
    */
    public void setLastQuantity(Integer lastQuantity) {
       this.lastQuantity = lastQuantity;
    }

    /**
    * 获取：剩余总商品数量
    */
    public Integer getLastQuantity() {
            return lastQuantity;
        }
        /**
    * 设置：货架编码
    */
    public void setCode(String code) {
       this.code = code;
    }

    /**
    * 获取：货架编码
    */
    public String getCode() {
            return code;
        }
        /**
    * 设置：货架地址
    */
    public void setAddress(String address) {
       this.address = address;
    }

    /**
    * 获取：货架地址
    */
    public String getAddress() {
            return address;
        }
        /**
    * 设置：经度
    */
    public void setLon(String lon) {
       this.lon = lon;
    }

    /**
    * 获取：经度
    */
    public String getLon() {
            return lon;
        }
        /**
    * 设置：纬度
    */
    public void setLat(String lat) {
       this.lat = lat;
    }

    /**
    * 获取：纬度
    */
    public String getLat() {
            return lat;
        }
        /**
    * 设置：创建时间
    */
    public void setGtmCreate(Date gtmCreate) {
       this.gtmCreate = gtmCreate;
    }

    /**
    * 获取：创建时间
    */
    public Date getGtmCreate() {
            return gtmCreate;
        }
        /**
    * 设置：修改时间
    */
    public void setGtmModified(Date gtmModified) {
       this.gtmModified = gtmModified;
    }

    /**
    * 获取：修改时间
    */
    public Date getGtmModified() {
            return gtmModified;
        }
    }
